package com.kgc.scd.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * Created On : 2022/5/31.
 * <p>
 * Author     : 98730
 * <p>
 * Description: 微信支付自定义配置读取类
 */
@Data
@Component
@ConfigurationProperties(prefix = "wechat.pay")
public class WechatPayConfig {

    /**
     * 应用id
     */
    private String appId;

    /**
     * 商户id
     */
    private String mchId;

    /**
     * 商户秘钥
     */
    private String mchKey;

    /**
     * 统一下单接口地址
     */
    private String orderUri;

    /**
     * 支付结果异步回调地址
     */
    private String notifyUri;

    /**
     * 支付订单查询
     */
    private String orderQueryUri;


}
